package com.ruoyi.common.domain.dto;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class MerchantActivityDTO {
    private Long merchantId;
    private String merchantName;
    private String merchantAddress;
    private String merchantAvatarUrl;
    private BigDecimal merchantActivityFee;
    private Long platformId;
    private String platformName;
    private Integer distance; // 单位：米

    private String activityTitle;
    private String activityType;
    private Long activityId;
    private BigDecimal demandDiscountPriceAmount;
    private BigDecimal discountAmount;
    private Integer maxParticipants;
    private Integer currentParticipants;
    private Date activityStartTime;
    private Date activityEndTime;

    private BigDecimal discountRatio; // discount_amount / min_order_amount


}
